<form method="post" id="app_login_form" ng-submit="applogin()" action="<?php echo $this->basePath() ?>/app/login" ng-controller="loginController">

    <div id="app_login_user" class="app_login_box left">

        <input id="app_login_username" tabindex="0" spellcheck="false" type="text" ng-model="app_login_username"
               placeholder="<?php echo $this->translate('Email or nickname'); ?>" autocomplete="off" name="app_login_username"
               class="form-control" />

        <div class="left">
            <div class="checkbox app_input_rememberme text_gray" ng-model="app_login_remember">
                <input id="app_login_remember" name="app_login_remember" type="checkbox"><?php echo $this->translate('Remember me'); ?>
            </div>
        </div>

    </div>

    <div class="app_login_box left">
        <input id="app_login_password" ng-model="app_login_password" tabindex="2" spellcheck="false" type="password" autocomplete="off" placeholder="<?php echo $this->translate('Password'); ?>"
               class="form-control" />

        <input type="hidden" name="app_login_hash" value="{{app_login_hash}}" />

        <div class="app_forget_password">
            <label class="text_t10">
                <a id="app_login_forgot" href="<?php echo $this->basePath() ?>/app/forgot"><?php echo $this->translate('Forgot your password ?'); ?></a>
            </label>
        </div>
    </div>

    <div id="app_login_button" class="left">
        <button type="submit" class="btn btn-info">
            <?php echo $this->translate('Login') ?>
        </button>
    </div>

</form>